﻿using Abp.Domain.Entities;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace CPPProject.CPP.Dto
{
    public class CPPPartBOMDto: Entity<Guid>
    {
        /// <summary>
        /// 资产编码
        /// </summary>
        [MaxLength(50)]
        public string PartNum { get; set; }
        /// <summary>
        /// 资产外键
        /// </summary>
        public Guid PartId { get; set; }
        /// <summary>
        /// 父级资产ID
        /// </summary>
        public Guid? ParentId { get; set; }     
        /// <summary>
        /// 数量
        /// </summary>
        public decimal Quantity { get; set; }
    }
}
